package com.gxa.domain.entity;

import java.sql.Timestamp;

public class SysUser {
    private Integer userId;
    private String account;
    private String password;
    private String username;
    private String phone;

    private Integer roleId;
    private String sex;
    private String emali;

    public SysUser() {
    }

    public SysUser(Integer userId, String account, String password, String username, String phone, Integer roleId) {
        this.userId = userId;
        this.account = account;
        this.password = password;
        this.username = username;
        this.phone = phone;
        this.roleId = roleId;
    }

    public SysUser(Integer userId, String account, String password, String username, String phone, Integer roleId, String sex, String emali) {
        this.userId = userId;
        this.account = account;
        this.password = password;
        this.username = username;
        this.phone = phone;
        this.roleId = roleId;
        this.sex = sex;
        this.emali = emali;
    }

    /**
     * 获取
     * @return userId
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return account
     */
    public String getAccount() {
        return account;
    }

    /**
     * 设置
     * @param account
     */
    public void setAccount(String account) {
        this.account = account;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 获取
     * @return roleId
     */
    public Integer getRoleId() {
        return roleId;
    }

    /**
     * 设置
     * @param roleId
     */
    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String toString() {
        return "SysUser{userId = " + userId + ", account = " + account + ", password = " + password + ", username = " + username + ", phone = " + phone + ", roleId = " + roleId + "}";
    }

    /**
     * 获取
     * @return sex
     */
    public String getSex() {
        return sex;
    }

    /**
     * 设置
     * @param sex
     */
    public void setSex(String sex) {
        this.sex = sex;
    }

    /**
     * 获取
     * @return emali
     */
    public String getEmali() {
        return emali;
    }

    /**
     * 设置
     * @param emali
     */
    public void setEmali(String emali) {
        this.emali = emali;
    }
}
